﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApp
{
    public partial class Index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                throw new Exception("错误啦");
            }
            catch (Exception ex)
            {
                LogHelper.Log.Error(new MyLogContent("标题", ex));
            }
            LogHelper.Log.Info(new MyLogContent("Info标题", "运行时日志"));


        }
    }
}